package cn.xzz.pethome.emp.service;

import cn.xzz.pethome.emp.domain.Employee;
import cn.xzz.pethome.emp.query.EmpQuery;
import cn.xzz.pethome.share.utils.PageCount;

import java.util.List;

public interface IEmpService {
    //分页查询
    PageCount<Employee> getPageCount(EmpQuery query);

    //查询一个
    Employee findById(Long id);

    //新增
    void addemp(Employee Employee);

    //修改
    void updateemp(Employee Employee);

    //删除
    void delete(Long id);

    //批量删除
    void batchdeleteemp(List<Long> ids);

    //查询全部
    List<Employee> findempall();
}
